package exam.web.action;

import java.util.List;

import exam.model.entity.TExaminationEntity;
import exam.web.action.base.ExaminationActionBase;

public class IndexExaminationAction extends ExaminationActionBase {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private List<TExaminationEntity> tExaminationEntityList;
	
	public String execute() throws Exception {
		tExaminationEntityList = examDAO.selectListExamination();
		addActionMessage("Danh sách đề thi");
		return SUCCESS;
	}

	public List<TExaminationEntity> gettExaminationEntityList() {
		return tExaminationEntityList;
	}

	public void settExaminationEntityList(
			List<TExaminationEntity> tExaminationEntityList) {
		this.tExaminationEntityList = tExaminationEntityList;
	}
}
